<div class="reference">
   <div class="titlepage">
      <div>
         <h1 class="title"><a name="d6e1"></a>Example Stylesheet
         </h1>
      </div>
      <div>
         <h3 class="author">Steve Ball</h3>
      </div>
      <div>
         <p class="releaseinfo">
            $Id: example.html,v 1.5 2001/11/03 00:50:28 balls Exp $
                  
         </p>
      </div>
      <div>
         <p class="copyright">Copyright &copy; 2001 Steve Ball</p>
      </div>
      <hr>
   </div>
   <div class="partintro">
      <div></div>
      <div class="section"><a name="d6e22"></a><div class="titlepage">
            <div>
               <h2 class="title" style="clear: both"><a name="d6e22"></a>Introduction
               </h2>
            </div>
         </div>
         <p>This module provides a template for adding stylesheet modules to the XSLT Standard Library.</p>
         <p>To add a new module to the library, follow these easy steps:</p>
         <div class="orderedlist">
            <ol type="1">
               <li>
                  <p><a name="d6e30"></a>Copy this file and replace its contents with the new module templates and documentation.
                  </p>
                  <p>Copy the corresponding test file in the <tt>test</tt> directory.  Replace its contents with tests for the new module.
                  </p>
                  <p>Add an include element in the <tt>stdlib.xsl</tt> stylesheet.
                  </p>
                  <p>Add an entry in the <tt>test/test.xml</tt> file.
                  </p>
                  <p>Add entries in the <tt>test/test.xsl</tt> stylesheet.
                  </p>
               </li>
            </ol>
         </div>
         <p>The <tt>example.xsl</tt> stylesheet provides a more extensive example.
         </p>
      </div>
      <div class="toc">
         <p><b>Table of Contents</b></p>
         <dl>
            <dt><a href="#template.eg:example">eg:example</a> - Template Example
            </dt>
         </dl>
      </div>
   </div>
   <hr>
   <div class="refentry">
      <h1 class="title"><a name="template.eg:example"></a>eg:example
      </h1>
      <div class="refnamediv"><a name="d6e59"></a><h2>Name</h2>eg:example &#8212; Template Example
      </div>
      <div class="refsynopsisdiv"><a name="d6e64"></a><h2>Synopsis</h2><pre class="synopsis">&lt;xsl:template name="eg:example"&gt;
&lt;xsl:param name="text"/&gt;
  ...
&lt;/xsl:template&gt;</pre></div>
      <div class="refdescription"><a name="d6e67"></a>
               
         
         <p>Provides a template for writing templates.  Replace this paragraph with a description of your template</p>
         
             
      </div>
      <div class="refparameter"><b><a name="d6e72"></a>Parameters</b>
               
         
         <div class="variablelist">
            <dl>
               <dt><a name="d6e75"></a><span class="term">text</span></dt>
               <dd>
                  <p><a name="d6e78"></a>The example string
                  </p>
               </dd>
            </dl>
         </div>
         
             
      </div>
      <div class="refreturn"><b><a name="d6e82"></a>Returns</b>
               
         
         <p>Returns nothing.</p>
         
             
      </div>
   </div>
</div>